<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>协同办公</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
  </head>
  
  <body>	
  	<div class="body-box">
  		<div class="map">
			<div class="map_con">
				您当前的位置：系统提醒 - 欢迎页
			</div>
		</div>
		<div id="container">
			<table border="0" cellpadding="0" cellspacing="0" class="index_zczb" style="border-bottom:none">
			   <tr class="HeaderTr2">
			      <th> 	未读提醒（共<span>${callSize}</span>条）</th>
		       </tr>
		    </table>
		 	<table border="0" cellpadding="0" cellspacing="0" class="mytable">
		      <tbody>
		         <tr class="header1tr">
			       <td class="headertd" style="font-weight:bold" width="8%">序号</td>
			       <td class="headertd" style="font-weight:bold" width="47%">提醒内容</td>    
			       <td class="headertd" style="font-weight:bold" width="15%">提醒时间</td>
			       <td class="headertd" style="font-weight:bold" width="15%">来自单位</td>
			       <td class="headertd" style="font-weight:bold" width="15%">部门</td>
		         </tr>
		         <s:if test="%{callMsgList.size>0}">
			         <s:iterator value="callMsgList" id="call" status="x">
				         <tr class="header1tr">
					       <td>${x.index+1}</td>
					       <td style="text-align:left;padding-left:5px;"><a href="<%=basePath%>/oa/call/call_perCallInShow.action?id=${call.id}">${call.msgTitle}</a></td>
					       <td><s:date name="#call.msgTime" format="yyyy-MM-dd hh:mm:ss"/></td>
					       <td>${call.tbUser.tbUserUnit.deptName }</td>
					       <td>${call.tbUser.tbUserDept.deptName }</td>
					     </tr>
				     </s:iterator>
			     </s:if>
			     <s:else>
			     	 <tr class="header1tr">
					       <td colspan="5">暂无未读提醒</td>
					     </tr>
			     </s:else>
				</tbody>
		 	</table>
		</div>
		<!-- 
		<div class="right_bottom">
			<div style="width:11px;float:left"><img src="<%=basePath%>/images/right_bottom.gif"/></div>
			<div style="width:16px;float:right"><img src="<%=basePath%>/images/right_rbottom.gif"/></div>
		</div>
		 -->
	</div>
  </body>
</html>
